package Exercise1109;

public class Q40_Books {

	// 관리번호, 제목, 저자, equals
    
	
	
	// 멤버 변수
	private String mno;
	private String title;
	private String writer;

	// 생성자
	public Q40_Books() {
		this.mno = ""; this.title = ""; this.writer = "";
	}

	public Q40_Books(String mno, String title, String writer) {
		this.mno = mno;
		this.title = title;
		this.writer = writer;

	}

	// getter/setter 메서드

	public void setMno(String mno) {
		this.mno = mno;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getMno() {
		return mno;
	}

	public String getTitle() {
		return title;
	}

	public String getWriter() {
		return writer;
	}

	// equals
	@Override
    public boolean equals (Object obj){
    	return super.equals(obj);
    }
}
